home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / HIERSV.PAK / ZOOMDLG.CPP < prev    next >
C/C++ Source or Header  |  1997-05-06  |  1KB  |  54 lines

  1. // zoomdlg.cpp : implementation file
  2. //
  3. //
  4. // This is a part of the Microsoft Foundation Classes C++ library.
  5. // Copyright (C) 1992-1995 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // Microsoft Foundation Classes Reference and related
  10. // electronic documentation provided with the library.
  11. // See these sources for detailed information regarding the
  12. // Microsoft Foundation Classes product.
  13.  
  14. #include "stdafx.h"
  15. #include "hiersvr.h"
  16. #include "zoomdlg.h"
  17.  
  18. #ifdef _DEBUG
  19. #undef THIS_FILE
  20. static char BASED_CODE THIS_FILE[] = __FILE__;
  21. #endif
  22.  
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CZoomDlg dialog
  25.  
  26. CZoomDlg::CZoomDlg(CWnd* pParent /*=NULL*/)
  27.     : CDialog(CZoomDlg::IDD, pParent)
  28. {
  29.     //{{AFX_DATA_INIT(CZoomDlg)
  30.     m_zoomX = 0;
  31.     m_zoomY = 0;
  32.     //}}AFX_DATA_INIT
  33. }
  34.  
  35. void CZoomDlg::DoDataExchange(CDataExchange* pDX)
  36. {
  37.     CDialog::DoDataExchange(pDX);
  38.     //{{AFX_DATA_MAP(CZoomDlg)
  39.     DDX_Text(pDX, IDC_EDIT1, m_zoomX);
  40.     DDV_MinMaxInt(pDX, m_zoomX, 10, 500);
  41.     DDX_Text(pDX, IDC_EDIT2, m_zoomY);
  42.     DDV_MinMaxInt(pDX, m_zoomY, 10, 500);
  43.     //}}AFX_DATA_MAP
  44. }
  45.  
  46. BEGIN_MESSAGE_MAP(CZoomDlg, CDialog)
  47.     //{{AFX_MSG_MAP(CZoomDlg)
  48.         // NOTE: the ClassWizard will add message map macros here
  49.     //}}AFX_MSG_MAP
  50. END_MESSAGE_MAP()
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53. // CZoomDlg message handlers
  54.